
module.exports = app => {
	app.get('/api/list', (req, res) => {
		res.send({
			code: 200,
			data: ['a', 'b', 'c', 'd']
		})
	})

	app.post('/api/login', (req, res) => {
		res.send({
			code: 200,
			message: 'OK'
		})
	})
}